package com.learnyou.server.xingzuo.dto.resultDTO.wechat;

import cn.hutool.core.date.DatePattern;
import cn.hutool.core.date.DateUtil;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author heweifeng
 * @Description:
 * @date 2022/11/18 21:13
 */
@Data
public class WechatStudentScheduleDetailDTO {

    @ApiModelProperty(value = "课程课次ID")
    private Integer courseScheduleId;

    @ApiModelProperty(value = "学生购买课程课次ID")
    private Integer studentScheduleId;

    @ApiModelProperty(value = "上课日期")
    @DateTimeFormat(pattern = DatePattern.CHINESE_DATE_PATTERN)
    private Date studentScheduleAt;

    @ApiModelProperty(value = "课程名称")
    private String courseName;


    @ApiModelProperty(value = "课程开始的时间")
    private String scheduleStartTime;

    @ApiModelProperty(value = "课程结束的时间")
    private String scheduleEndTime;

    @ApiModelProperty("课程计划状态：0：正常出勤，1：未出勤，2：待上课")
    private Integer status;

    @ApiModelProperty("是否有点评")
    private Boolean hasComment;

}
